﻿using System.Collections.Generic;

// ReSharper disable All
namespace BaiduIndex.Models
{
    public class RootEmpty
    {
        /// <summary>
        ///
        /// </summary>

        public int status { get; set; } = 0;

        /// <summary>
        ///
        /// </summary>
        public object data { get; set; }

        /// <summary>
        ///
        /// </summary>
        public long logid { get; set; }

        /// <summary>
        ///
        /// </summary>
        public object message { get; set; } = 0;
    }

    public class Root
    {
        /// <summary>
        ///
        /// </summary>

        public int status { get; set; } = 0;

        /// <summary>
        ///
        /// </summary>
        public RootData data { get; set; }

        /// <summary>
        ///
        /// </summary>
        public long logid { get; set; }

        /// <summary>
        ///
        /// </summary>
        public int message { get; set; } = 0;
    }

    public class RootData
    {
        /// <summary>
        ///
        /// </summary>
        public List<UserIndexesItem> userIndexes { get; set; }

        /// <summary>
        ///
        /// </summary>
        public List<GeneralRatioItem> generalRatio { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string uniqid { get; set; }
    }

    public class UserIndexesItem
    {
        /// <summary>
        ///
        /// </summary>
        public List<WordItem> word { get; set; }

        /// <summary>
        ///
        /// </summary>
        public All all { get; set; }

        /// <summary>
        ///
        /// </summary>
        public Pc pc { get; set; }

        /// <summary>
        ///
        /// </summary>
        public Wise wise { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string type { get; set; }
    }

    public class GeneralRatioItem
    {
        /// <summary>
        ///
        /// </summary>
        public List<WordItem> word { get; set; }

        /// <summary>
        ///
        /// </summary>
        public All all { get; set; }

        /// <summary>
        ///
        /// </summary>
        public Pc pc { get; set; }

        /// <summary>
        ///
        /// </summary>
        public Wise wise { get; set; }
    }

    public class WordItem
    {
        /// <summary>
        /// 冷库
        /// </summary>
        public string name { get; set; }

        /// <summary>
        ///
        /// </summary>
        public int wordType { get; set; }
    }

    public class All
    {
        /// <summary>
        ///
        /// </summary>
        public int avg { get; set; } = 0;

        /// <summary>
        ///
        /// </summary>
        public int yoy { get; set; } = 0;

        /// <summary>
        ///
        /// </summary>
        public int qoq { get; set; } = 0;
    }

    public class Pc
    {
        /// <summary>
        ///
        /// </summary>
        public int avg { get; set; }

        /// <summary>
        ///
        /// </summary>
        public int yoy { get; set; }

        /// <summary>
        ///
        /// </summary>
        public int qoq { get; set; }
    }

    public class Wise
    {
        /// <summary>
        ///
        /// </summary>
        public int avg { get; set; }

        /// <summary>
        ///
        /// </summary>
        public int yoy { get; set; }

        /// <summary>
        ///
        /// </summary>
        public int qoq { get; set; }
    }
}